import { all ,call} from "redux-saga/effects";

import { helloSaga } from "./hello";
import { watchCountSaga } from "./count";
import { watchUserSaga } from "./user";

function* rootSage(){
    // yield all([
    //     helloSaga(),
    //     watchCountSaga(),
    //     watchUserSaga()
    // ])

    yield all([
        call(helloSaga),
        call(watchCountSaga),
        call(watchUserSaga)
    ])
}

export  default rootSage